package net.skyaims.aiolia.chat.http;

import java.util.HashSet;
import java.util.Set;

import net.skyaims.aiolia.chat.core.Environment;

public class HttpEnvironment extends Environment {

    private Set<Class<?>> resources = new HashSet<Class<?>>();

    public void addResource(Class<?> resource) {
        this.resources.add(resource);
    }

    public Class<?>[] getResources() {
        Class<?>[] classes = new Class<?>[resources.size()];
        return resources.toArray(classes);
    }

}
